<?php
require_once 'Zend/Controller/Action.php';

class Apis_IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        	$data_mode = (isset($_GET['data_mode']))?$_GET['data_mode']:((isset($_POST['data_mode'])?$_POST['data_mode']:null));
    	switch ($_GET['data_mode']){
    		case 'json':
    			echo 'json';
    			break;
    		case 'xml':
    			echo 'xml';
    			break;
    		case 'mobile':
    			break;
    		default:
    			echo 'null?';
    			break;
    	}
    	
    }


}

